package com;

import org.jasypt.intf.service.JasyptStatelessService;

public class GenScrPass {

    static public void main(String[] args){
        String inputPass = "yuf456";  //加密前的密码
        String salt = "e9fbdb2d51k422"; //密需要的salt值
        String algorithm = "PBEWithMD5AndDES"; //加密算法
        JasyptStatelessService service = new JasyptStatelessService();
        String result = service.encrypt(inputPass, salt, (String)null, (String)null, algorithm, (String)null, (String)null, null, (String)null, (String)null, null, (String)null, (String)null, null, (String)null, (String)null, null, (String)null, (String)null, null, (String)null, (String)null);
        System.out.println(result);
    }
}
